Release and management of composite applications on paas

ABSTRACT

A solution descriptor comprises a set of component workload units, a workload unit describing a deployable application component with application binary, configuration parameters and dependency declarations. An environment descriptor specifies a set of target platforms and plugins in an execution environment. A deployer interprets the solution descriptor and the environment descriptor, and generates a list of tuples comprising compatible workload-plugin-platform combinations. The deployer determines an execution order for the list of tuples, and invokes the plugins in the list of tuples in the execution order, wherein each of the plugins executes a corresponding compatible workload on a corresponding compatible target platform specified in the list of tuples.

FIELD

The present application relates generally to computers and computerapplications, and more particularly to composite application deploymentand management on computer systems.

BACKGROUND

Solutions often include multiple application components and servicesbound together. In a cloud based system that provides platforms as aservice, e.g., PaaS, applications are deployed in a star topology, forexample, apps bind to different services by star topology. Forapplications that are not structured into a star topology model, it isdifficult to deploy those applications and bind them together. Forinstance, there is no common way to deploy, monitor, and managesolutions on such platforms.

BRIEF SUMMARY

A method and system of specifying, deploying and managing compositeapplications may be provided. The method, in one aspect, may comprisereceiving a solution descriptor comprising a set of component workloadunits, a component workload unit describing a deployable applicationcomponent with application binary, configuration parameters anddependency declarations. The method may also comprise receiving anenvironment descriptor specifying a set of target platforms and pluginsavailable in an execution environment. The method may further comprisegenerating, based on the solution descriptor and the environmentdescriptor, a list of tuples comprising compatibleworkload-plugin-platform combinations. The method may also comprisedetermining an execution order for the list of tuples. The method mayalso comprise invoking the plugins in the list of tuples in theexecution order, each of the plugins executing a correspondingcompatible component workload unit on a corresponding compatible targetplatform specified in the list of tuples, wherein the set of componentworkload units comprises an instance of a component application type ina set of component application types, and the set of componentapplication types is extensible.

A system for the description, deployment and management of compositeapplications, in one aspect, may comprise a processor and a memorydevice coupled to the processor. A solution descriptor, stored on thememory device, may comprise a set of component workload units, acomponent workload unit describing a deployable application componentwith application binary, configuration parameters and dependencydeclarations. An environment descriptor, stored on the memory device,may specify a set of target platforms and plugins in an executionenvironment. A deployer may run on the processor, and may be operable togenerate, based on the solution descriptor and the environmentdescriptor, a list of tuples comprising compatibleworkload-plugin-platform combinations. The deployer may be furtheroperable to determine an execution order for the list of tuples. Thedeployer may be further operable to invoke the plugins in the list oftuples in the execution order. Each of the plugins may execute acorresponding compatible component workload unit on a correspondingcompatible target platform specified in the list of tuples, wherein theset of component workload units comprises an instance of a componentapplication type in a set of component application types, and the set ofcomponent application types is extensible.

A computer readable storage medium storing a program of instructionsexecutable by a machine to perform one or more methods described hereinalso may be provided.

Further features as well as the structure and operation of variousembodiments are described in detail below with reference to theaccompanying drawings. In the drawings, like reference numbers indicateidentical or functionally similar elements.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a diagram showing components of the present disclosure in oneembodiment.

FIG. 2 is a flow diagram illustrating a method of the present disclosurein one embodiment.

FIG. 3 is a diagram illustrating a method of executing tuples in oneembodiment of the present disclosure.

FIG. 4A shows an example of a solution deployment in one embodiment ofthe present disclosure.

FIG. 4B shows an example of a solution descriptor in one embodiment ofthe present disclosure.

FIG. 5 illustrates a schematic of an example computer or processingsystem that may implement a composite application management system inone embodiment of the present disclosure.

FIG. 6 shows system architecture of a system for managing compositeapplications in one embodiment of the present disclosure.

FIG. 7 is a diagram illustrating a behavior element in one embodiment ofthe present disclosure.

DETAILED DESCRIPTION

Solution may include two or more application components, for example, aweb application components and a resource pool component. A solutiondeveloper may leverage cloud shared database (DB) and Queue services. Inthis context, the developer may desire to leverage an existing platform,e.g., the existing Platform as a Service (PaaS), but may want to havevisibility at the level of solutions instead of individual applications.A method, system and techniques may be provided that express thecomplete solution(s) as a composition of various application componentsand services. For example, the method, system and techniques may providefor deploying and managing the system in a manner which is consistentwith the way the applications are deployed and managed.

Briefly, cloud computing is a model of service delivery for enablingconvenient, on-demand network access to a shared pool of configurablecomputing resources (e.g. networks, network bandwidth, servers,processing, memory, storage, applications, virtual machines, andservices) that can be rapidly provisioned and released with minimalmanagement effort or interaction with a provider of the service. Thiscloud model may include several characteristics, service models, anddeployment models. An example of a service model includes Platform as aService (PaaS). In PaaS, the capability provided to the consumer is todeploy onto the cloud infrastructure consumer-created or acquiredapplications created using programming languages and tools supported bythe provider. The consumer does not manage or control the underlyingcloud infrastructure including networks, servers, operating systems, orstorage, but has control over the deployed applications and possiblyapplication hosting environment configurations.

The methodologies described herein may apply to multi-cloud federatedPaaS hybrid composition and Hybrid PaaS Manifest-based deployment forcomposite applications on PaaS. However, it is understood in advancethat although this disclosure includes a description on cloud computing,implementation of the teachings recited herein are not limited to acloud computing environment. Rather, embodiments of the presentinvention are capable of being implemented in conjunction with any othertype of computing environment now known or later developed.

For deploying an application/solution which does not naturally fit thePaaS's deployment model or the like, the system, method and techniquesof the present disclosure may extend all the PaaS facilities, such asscaling, load-balancing, and backup-recovery to the solution orcomposite application. In this way, users can deploy larger variety ofapplications on PaaS with ease. Users can also obtain all the PaaSfeatures on their composite-application/solution.

A method, system and techniques may be provided that allows fordescription, deployment and management of solutions or compositeapplications, for example, on Platform as a Service (PaaS) platforms orthe like, referred to herein as a platform. The method, system andtechnique may create a solution-maestro or a master solution, whichmanages all the individual application components together on a platformsuch as PaaS and offers the developer an experience of deploying andmanaging a similar to that of deploying and managing an application onPaaS.

In one aspect, an intuitive declarative composition language to composesolutions may be provided. The method, system and techniques in oneaspect may extend the core services offered by the PaaS platform tosolutions as well, for instance, replication, simple health, monitoring,routing/load-balancing, PaaS business support system (BSS). In oneaspect, the method, system and techniques of the present disclosure mayallow for sharing solution sub-components (e.g., applications orservices on PaaS) across solutions. The solution command line bootstrapsmay be provided by pushing a solution-maestro onto the PaaS.

Services can be bound to applications. Their information(service-end-point and access privileges) is relayed to boundapplications. Note that it is usually the case that services do not knowabout applications. Application and services are bound in a startopology. It is not obvious how to bind different applications and viewthem as a single application.

An application composition language may be created and provided. In oneembodiment, this languages is the solution descriptor language, e.g.,which may be written in Yet Another Multicolumn Layout (YAML), which isa language that describes data. An example of a solution descriptor isgiven in FIG. 4B. A special application, referred to assolution-maestro, may be deployed along with each composite application.A new command line tool may be provided to interface PaaS andsolution-maestro to provide a seamless experience to a developer.

In one aspect, the special application referred to as solution maestroin the present disclosure acts a single point of contact for performingvarious PaaS or like operations on whole of the solution or compositeapplication. In one embodiment, solution maestro may be provided foreach application. Each solution maestro has a unique Globally UniqueIdentifier (GUID) and is made easy to discover amongst variousapplications. Discovery of solution maestro may be implemented as aRepresentational State Transfer (REST) Application Programming Interface(API) call in one embodiment. Solution maestro may be deployed on PaaS,and may perform following tasks, one or more of which may be exposed viaREST API: List solution and its components; Change component deploymentscale and size; Manage various services and their bindings to differentcomponents; Report health of solution as a whole and also of individualcomponents; Offer a secure message-board service to all applicationcomponents for exchanging information; Start/Stop/Restart whole of theapplication; Obtain declarative textual description of the whole of thesolution deployment. In one embodiment, solution maestro is anexecutable, which is driven by the solution descriptor.

FIG. 1 is a diagram showing components of the present disclosure in oneembodiment. A (composite) solution descriptor 102 comprises of a list ofcomponent workload units 104. Each workload unit 104 describes adeployable application component with the necessary application binary,configuration parameters, dependency declarations. A workload unit 104may contain other information. In one embodiment, specifically, eachworkload unit contains a workload type declaration, for example,web-app, container, map-reduce. In one embodiment, the overall solutiondescriptor may contain a flat list of component workload units with theworkload type embedded in each unit declaration. In another embodiment,workload units of the same type may be grouped together under a commonworkload type section heading within the overall solution descriptor102.

At runtime, a workload unit requires a target platform 106 so that itsapplication binary can be deployed (pushed) to. The target platform 106runs on one or more hardware processors, which for example, are coupledto memory and/or storage devices and may include other hardwareperipheral devices. In one embodiment, the solution deployer uses aplugin-based architecture for extensibility. In one embodiment, thesolution deployer is a deployment-time portion or aspect of the solutionmaestro. The solution deployer may run in the same hardware as thetarget platform, or in different hardware in which the target platformis run.

A plugin 108 interprets sections of the solution descriptor 102 that itunderstands and deploys the corresponding application binaries to theappropriate target platforms 106. A plugin 108 may be a computerexecutable that executes or runs on a hardware processor. In oneembodiment, plugins are usually not part of the solution, but ratherbelong to the execution environment. In one embodiment, a plugin 108 isprovided by and associated with a particular target platform 106. In oneembodiment, a plugin 108 may be able to interpret more than one types ofworkloads and is able to deploy workloads to more than one targetplatforms (e.g., 106 and another not shown), for example, a plugin forperforming tests locally. In one embodiment of a production environment,highly specialized and optimized plugins may only support one particularworkload type and can only deploy to a particular target platform.

A solution execution environment includes a number of target platforms,for example, IBM Bluemix Application runtime (a Platform-as-a-Servicefor web apps), IBM Bluemix Container service, and IBM Cloud AnalyticsApplication Service for BigInsights (a Hadoop-as-a-Service), fromInternational Business Machines Corporation, Armonk, N.Y., and a numberof plugins.

An environment descriptor 110 is a document that describes thiscollection of target platforms and plugins. When deploying a compositesolution, the environment descriptor 110 is given as an additionalparameter to the deployer. In one embodiment, the environment descriptor110 may be provided as a configuration file. In another embodiment, itmay be retrieved as a document (e.g., JavaScript Object Notation (JSON)document) from a Uniform Resource Locator (URL) which is given to thedeployer.

A workload unit 104 may be an executable object operable to run on atarget platform 106, which may comprise a software and hardware such ashardware processor and memory, and other components for running computerexecutables. A workload unit 104 may be an instance of a componentapplication type.

FIG. 2 is a flow diagram illustrating a method of the present disclosurein one embodiment. At 202, solution descriptor is retrieved and parsed.At 204, environment descriptor is retrieved and parsed. For instance,when the deployer receives the solution descriptor (e.g., FIG. 1 at 102)and environment descriptor (e.g., FIG. 1 at 110), it parses bothdocuments and creates in-memory objects that represent them. In oneembodiment, subsequent operations are performed on these in-memoryobjects. The deployer architecture allows plugins (e.g., FIG. 1 at 108)to dynamically modify the in-memory solution descriptor object. Theremay be two main purposes. First, plugins can define dynamic properties(variables), associate them with a workload unit object, and query thevalues of these dynamic properties. This mechanism enables the pluginsto pass information among themselves. This ultimately enables a solutiondeveloper to express dependency between workload units by referencingdynamic properties of a dependent workload unit in environment variablesof a depending workload unit's own specification. Second, a plugin candynamically generate new workload units that are needed to carry out theoverall deployment of the solution. For example, to consume certainplatform services in the micro-service architecture, a web-app pluginmay install docker container based “sidecar” components dynamically.

When the deployer receives the initial solution descriptor or wheneverany plugin inserts dynamic workload units to the in-memory solutiondescriptor object, the deployer invokes the following logical steps. Weremark that in a particular embodiment of the disclosed method,optimizations may be applied to these steps and they do not change theessence of the method.

At 206, compatibility tuple list (W, P, F) is generated. For example,based on the information parsed from the solution descriptor and theenvironment descriptor, the deployer iterates through the workload unitsand generates a list of tuples in the form of (workload, plugin,platform), where plugin is from the available plugins of the environmentand platform is one of the target platforms and the plugin can deploythe workload to the platform. Put in another way, this is a list of allcompatible workload-plugin-platform combinations. There are differentways to generate this compatibility tuple list. In one embodiment, thedeployer may instantiate all plugins available in the environment, andfor each combination of workload unit and target platform, interrogatethe plugin to determine whether the combination is supported or not bythe plugin. In another embodiment, the plugins may declare theirsupported workload-platform combination in the form of schema. Theschema may then be stored as meta data in the plugin registry of theenvironment. To determine compatibility, the deployer validates theworkload declaration against the plugin schema. And this may befacilitated by advanced features of databases.

With this list of compatibility tuples, the deployer validates thatsolution and environment are compatible. Thus, at 208, it is determinedwhether the solution (component application) and environment arecompatible. The solution and environment are compatible if and only iffor each workload unit W in the solution, there exists a tuple (W, P, F)in the list. If the solution and environment are not compatible, thedeployer aborts the deployment and cleans up at 216.

At 210, the compatibility tuple list may be pruned. For example, for anygiven workload unit W, there may exist multiple tuples (W, P_i, F_j). Aresolution is made to determine a unique tuple (W, P, F). This may beaccomplished through weighting the plugins and/or the target platforms,sorting the tuples according to a combination of the weights and pickingthe tuple with the highest weight. Additionally, the solution descriptormay allow the developer to specify the preferred plugin and/or platformby their identifiers (IDs) and/or names. If the preferred combination isfound in the compatible tuple list, it may be preferentially selected.

Once a unique plugin-platform combination has been determined for eachand every workload unit in the solution descriptor, the deployer goesinto the dependency resolution phase to determine the execution order ofthese tuples. Dependency between workload units is created when one unitrequires deployment-time dynamic properties from another. For example,the front end web application is configured with the Internet Protocol(IP) address and port number of the database container instance. In oneembodiment, this is done by specifying an environment variable in oneworkload unit (e.g., the front end web app) that references dynamicproperties in another workload unit (e.g., the IP and port number of thedatabase docker instance).

There are different ways to resolve the dependency and execute thetuples in correct order. In one embodiment, the deployer may defineseveral execution phases that all plugins conform to. For example, aninit phase for initializing the plugins, a deploy phase to deploy theworkload binaries (but not starting them) and retrieve the dynamicdeployment properties (e.g., IP address, port number, password) andupdating the in-memory solution descriptor object, a configure phase forobtaining dynamic properties from dependent workload units andconfiguring the depending workload units, and finally a start phase foractually starting the workload units. In this phased order, the deployerthen invokes the corresponding execution handler of each plugin. In oneembodiment, plugins are allowed to create dynamic workload units.Whenever new workload units are created, the overall deployment processis iterated again. In one aspect, this embodiment employs a rigid pluginstructure.

In another embodiment, the deployer may determine the execution ordermore dynamically. In this embodiment, the plugins do not have toimplement explicit phases. For each tuple instance (W, P, F), thedeployer starts an instance of P, and the execution may be serialized orconcurrent. If a serial execution model is used, a plugin yields whenits required dynamic properties from another workload unit are notavailable in the solution object yet. The deployer then context-switchesto another tuple for execution. If a concurrent execution model is used,a plugin blocks on a dynamic property for its value to become available,and notifies all blocked plugins when it updates a dynamic property. Aslong as all plugins adopt the basic safeguard that it always publishesthe current workload unit's dynamic deployment properties before itretrieves dependent workload units' properties, deadlocks will nothappen. As in the previous embodiment, because plugins are allowed tocreate dynamic workload units, whenever new workload units are created,the overall deployment process is iterated again.

Thus, at 212, the tuples may be executed as described above. At 214, isthe solution is modified, for example, new workload units are created,the logic returns to 206 and iterates the process.

FIG. 3 is a diagram illustrating a method of executing tuples in oneembodiment of the present disclosure. At 302, the tuples may be executedserially. At 304, a tuple is selected from the generated list. At 306,it is determined whether dynamic properties required to execute the workunit of the tuple is available for the plugin. If not, the logic returnsto 304 to select another tuple from the generated list. If dynamicproperties are available at 306, at 308, the work unit of the selectedtuple is deployed on the target platform indicated in the tuple.

FIG. 4A shows an example of a solution deployment in one embodiment ofthe present disclosure. In this example, the solution 402 is comprisedof four webapp instances (App-Comp-1, . . . , App-Comp-4), and threeservice instances (Service-1, . . . , Service-n). In this example,ShareFile Command Line Interface (sf CLI) is used to deploy thesolution, given the solution descriptor, which drives the solutionmaestro 406 to create the webapp and service instances 402, configurethem by binding service instances to webapp instances and by linkingwebapp instances (App-Comp-1 with App-Comp-4, and App-Comp-2 withApp-Comp-3), and start them. The PaaS components (Cloud Controller,Router, etc.) 408, are elements of the webapp target platform on whichthe webapp instances are deployed. The PaaS components 408 handle therun-time management of the individual instances 402. FIG. 4B shows anexample of a solution descriptor in one embodiment of the presentdisclosure.

The actual execution of a plugin invokes the following steps. First, theplugin may be loaded by the deployer and instantiated. The deployer theninvokes a well defined interface on the plugin object and passes theworkload definition (section of the solution descriptor) and theplatform definition (section of the environment descriptor) to theplugin. The plugin does what is necessary in order to deploy theworkload unit to the target platform and returns the execution resultsto the deployer.

As described above, a system for the description, deployment andmanagement of composite applications, may include a declarativespecification that describes a composite application in terms of anextensible set of component application types and how they relate anddepend on each other to make up the composite. A behavior element mayinterpret and execute the declarative specification by using anextensible set of plug-in elements that manage the behavior of acorresponding extensible set of component type platforms. The behaviorelement may coordinate and manage the relationships and dependencies ofthe component applications as described in the declarativespecification.

The work units described in FIG. 1 may be of different componentapplication types. The component application types may include one ormore of the following: analytics, web applications, applications,document containers, and/or others. The component application type maybe an analytic and the analytic plug-in element may gather the followinginformation from one or more platforms (e.g., PaaS), e.g., including webapplication name, package, number of instances, amount of memory,environment variables, and services to bind with. The componentapplication type may be a web application type and the web applicationplug-in element may gather the following information from one or moreplatforms (e.g., PaaS), e.g., including analytics type, name, andparameters. The analytics types may include worker pool, streams, and/ormap-reduce. The component application type may be a containerizedapplication and the container's plug-in element may gather informationfrom one or more platforms (e.g., PaaS), e.g., including container name,image name, port bindings, resource limits, and/or environmentvariables. The behavior element may interpret and execute thedeclarative specification by using an extensible set of plug-in elementsthat manage the behavior of a corresponding extensible set of componenttype platforms, e.g., in (a) obtaining a composite applicationspecification from a user, (b) deploying each component application byinvoking the corresponding plug-in elements in phases (e.g., thatinclude creating, configuring, and starting) instances for each ofcomponent applications, and (c) coordinating and managing the executionof the component application instances. The behavior element mayinterpret and execute the declarative specification by coordinating andmanaging the relationships and dependencies of the componentapplications as described in the declarative specification in (a)injecting web application end-point references to component applicationsthat refer to them via environment variables, (b) injectingcontainerized application network addresses and ports to componentapplications that refer to them via environment variables, and (c)moving data to and from analytics applications sink and source datastorage elements.

FIG. 6 shows system architecture of a system for managing compositeapplications in one embodiment of the present disclosure. A solutioncomposition environment or another editing tool 602 allows a solutiondeveloper 604 to create a composite application specification, 606, alsoreferred to above as a solution descriptor. A behavior element 608, alsoreferred to above as a solution maestro, receives the compositeapplication specification 606, and as described above, generates a listof compatibility tuples, and invokes appropriate plugins to runcorresponding workload units on corresponding target platforms (e.g.,610, 612, 614 and 616), provided, for example, on an Infrastructure as aService (IaaS) 618.

Briefly, Infrastructure as a Service (IaaS) is another service model incloud computing. In IaaS, the capability provided to the consumer is toprovision processing, storage, networks, and other fundamental computingresources where the consumer is able to deploy and run arbitrarysoftware, which can include operating systems and applications. Theconsumer does not manage or control the underlying cloud infrastructurebut has control over operating systems, storage, deployed applications,and possibly limited control of select networking components (e.g., hostfirewalls).

FIG. 7 is a diagram illustrating a behavior element in one embodiment ofthe present disclosure. The behavior element is also described above asa solution maestro. At deployment time, the behavior element 702 invokeseach plug-in for the corresponding component application type, e.g., webapplication plug-in 704, analytics application plug-in 706,containerized application plug-in 708, and/or others, as specifiedaccording to a solution descriptor. The plug-ins 704, 706, 708, create,configure and start the corresponding applications in the correspondingplatforms 710, 712, 714.

As described above, the set of component application types isextensible. For example, from one instantiation of the system to thenext, the number of component application instances may vary in numbers,and the types of those component applications may vary. While FIGS. 6and 7 show components application types of analytics, web applications,applications, and containerized applications, other componentsapplication types can be handled.

FIG. 5 illustrates a schematic of an example computer or processingsystem that may implement a composite application management system inone embodiment of the present disclosure. The computer system is onlyone example of a suitable processing system and is not intended tosuggest any limitation as to the scope of use or functionality ofembodiments of the methodology described herein. The processing systemshown may be operational with numerous other general purpose or specialpurpose computing system environments or configurations. Examples ofwell-known computing systems, environments, and/or configurations thatmay be suitable for use with the processing system shown in FIG. 5 mayinclude, but are not limited to, personal computer systems, servercomputer systems, thin clients, thick clients, handheld or laptopdevices, multiprocessor systems, microprocessor-based systems, set topboxes, programmable consumer electronics, network PCs, minicomputersystems, mainframe computer systems, and distributed cloud computingenvironments that include any of the above systems or devices, and thelike.

The computer system may be described in the general context of computersystem executable instructions, such as program modules, being executedby a computer system. Generally, program modules may include routines,programs, objects, components, logic, data structures, and so on thatperform particular tasks or implement particular abstract data types.The computer system may be practiced in distributed cloud computingenvironments where tasks are performed by remote processing devices thatare linked through a communications network. In a distributed cloudcomputing environment, program modules may be located in both local andremote computer system storage media including memory storage devices.

The components of computer system may include, but are not limited to,one or more processors or processing units 12, a system memory 16, and abus 14 that couples various system components including system memory 16to processor 12. The processor 12 may include a deployer module 10 thatperforms the methods described herein. The module 10 may be programmedinto the integrated circuits of the processor 12, or loaded from memory16, storage device 18, or network 24 or combinations thereof.

Bus 14 may represent one or more of any of several types of busstructures, including a memory bus or memory controller, a peripheralbus, an accelerated graphics port, and a processor or local bus usingany of a variety of bus architectures. By way of example, and notlimitation, such architectures include Industry Standard Architecture(ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA)bus, Video Electronics Standards Association (VESA) local bus, andPeripheral Component Interconnects (PCI) bus.

Computer system may include a variety of computer system readable media.Such media may be any available media that is accessible by computersystem, and it may include both volatile and non-volatile media,removable and non-removable media.

System memory 16 can include computer system readable media in the formof volatile memory, such as random access memory (RAM) and/or cachememory or others. Computer system may further include otherremovable/non-removable, volatile/non-volatile computer system storagemedia. By way of example only, storage system 18 can be provided forreading from and writing to a non-removable, non-volatile magnetic media(e.g., a “hard drive”). Although not shown, a magnetic disk drive forreading from and writing to a removable, non-volatile magnetic disk(e.g., a “floppy disk”), and an optical disk drive for reading from orwriting to a removable, non-volatile optical disk such as a CD-ROM,DVD-ROM or other optical media can be provided. In such instances, eachcan be connected to bus 14 by one or more data media interfaces.

Computer system may also communicate with one or more external devices26 such as a keyboard, a pointing device, a display 28, etc.; one ormore devices that enable a user to interact with computer system; and/orany devices (e.g., network card, modem, etc.) that enable computersystem to communicate with one or more other computing devices. Suchcommunication can occur via Input/Output (I/O) interfaces 20.

Still yet, computer system can communicate with one or more networks 24such as a local area network (LAN), a general wide area network (WAN),and/or a public network (e.g., the Internet) via network adapter 22. Asdepicted, network adapter 22 communicates with the other components ofcomputer system via bus 14. It should be understood that although notshown, other hardware and/or software components could be used inconjunction with computer system. Examples include, but are not limitedto: microcode, device drivers, redundant processing units, external diskdrive arrays, RAID systems, tape drives, and data archival storagesystems, etc.

The present invention may be a system, a method, and/or a computerprogram product. The computer program product may include a computerreadable storage medium (or media) having computer readable programinstructions thereon for causing a processor to carry out aspects of thepresent invention.

The computer readable storage medium can be a tangible device that canretain and store instructions for use by an instruction executiondevice. The computer readable storage medium may be, for example, but isnot limited to, an electronic storage device, a magnetic storage device,an optical storage device, an electromagnetic storage device, asemiconductor storage device, or any suitable combination of theforegoing. A non-exhaustive list of more specific examples of thecomputer readable storage medium includes the following: a portablecomputer diskette, a hard disk, a random access memory (RAM), aread-only memory (ROM), an erasable programmable read-only memory (EPROMor Flash memory), a static random access memory (SRAM), a portablecompact disc read-only memory (CD-ROM), a digital versatile disk (DVD),a memory stick, a floppy disk, a mechanically encoded device such aspunch-cards or raised structures in a groove having instructionsrecorded thereon, and any suitable combination of the foregoing. Acomputer readable storage medium, as used herein, is not to be construedas being transitory signals per se, such as radio waves or other freelypropagating electromagnetic waves, electromagnetic waves propagatingthrough a waveguide or other transmission media (e.g., light pulsespassing through a fiber-optic cable), or electrical signals transmittedthrough a wire.

Computer readable program instructions described herein can bedownloaded to respective computing/processing devices from a computerreadable storage medium or to an external computer or external storagedevice via a network, for example, the Internet, a local area network, awide area network and/or a wireless network. The network may comprisecopper transmission cables, optical transmission fibers, wirelesstransmission, routers, firewalls, switches, gateway computers and/oredge servers. A network adapter card or network interface in eachcomputing/processing device receives computer readable programinstructions from the network and forwards the computer readable programinstructions for storage in a computer readable storage medium withinthe respective computing/processing device.

Computer readable program instructions for carrying out operations ofthe present invention may be assembler instructions,instruction-set-architecture (ISA) instructions, machine instructions,machine dependent instructions, microcode, firmware instructions,state-setting data, or either source code or object code written in anycombination of one or more programming languages, including an objectoriented programming language such as Smalltalk, C++ or the like, andconventional procedural programming languages, such as the “C”programming language or similar programming languages. The computerreadable program instructions may execute entirely on the user'scomputer, partly on the user's computer, as a stand-alone softwarepackage, partly on the user's computer and partly on a remote computeror entirely on the remote computer or server. In the latter scenario,the remote computer may be connected to the user's computer through anytype of network, including a local area network (LAN) or a wide areanetwork (WAN), or the connection may be made to an external computer(for example, through the Internet using an Internet Service Provider).In some embodiments, electronic circuitry including, for example,programmable logic circuitry, field-programmable gate arrays (FPGA), orprogrammable logic arrays (PLA) may execute the computer readableprogram instructions by utilizing state information of the computerreadable program instructions to personalize the electronic circuitry,in order to perform aspects of the present invention.

Aspects of the present invention are described herein with reference toflowchart illustrations and/or block diagrams of methods, apparatus(systems), and computer program products according to embodiments of theinvention. It will be understood that each block of the flowchartillustrations and/or block diagrams, and combinations of blocks in theflowchart illustrations and/or block diagrams, can be implemented bycomputer readable program instructions.

These computer readable program instructions may be provided to aprocessor of a general purpose computer, special purpose computer, orother programmable data processing apparatus to produce a machine, suchthat the instructions, which execute via the processor of the computeror other programmable data processing apparatus, create means forimplementing the functions/acts specified in the flowchart and/or blockdiagram block or blocks. These computer readable program instructionsmay also be stored in a computer readable storage medium that can directa computer, a programmable data processing apparatus, and/or otherdevices to function in a particular manner, such that the computerreadable storage medium having instructions stored therein comprises anarticle of manufacture including instructions which implement aspects ofthe function/act specified in the flowchart and/or block diagram blockor blocks.

The computer readable program instructions may also be loaded onto acomputer, other programmable data processing apparatus, or other deviceto cause a series of operational steps to be performed on the computer,other programmable apparatus or other device to produce a computerimplemented process, such that the instructions which execute on thecomputer, other programmable apparatus, or other device implement thefunctions/acts specified in the flowchart and/or block diagram block orblocks.

The flowchart and block diagrams in the Figures illustrate thearchitecture, functionality, and operation of possible implementationsof systems, methods, and computer program products according to variousembodiments of the present invention. In this regard, each block in theflowchart or block diagrams may represent a module, segment, or portionof instructions, which comprises one or more executable instructions forimplementing the specified logical function(s). In some alternativeimplementations, the functions noted in the block may occur out of theorder noted in the figures. For example, two blocks shown in successionmay, in fact, be executed substantially concurrently, or the blocks maysometimes be executed in the reverse order, depending upon thefunctionality involved. It will also be noted that each block of theblock diagrams and/or flowchart illustration, and combinations of blocksin the block diagrams and/or flowchart illustration, can be implementedby special purpose hardware-based systems that perform the specifiedfunctions or acts or carry out combinations of special purpose hardwareand computer instructions.

The terminology used herein is for the purpose of describing particularembodiments only and is not intended to be limiting of the invention. Asused herein, the singular forms “a”, “an” and “the” are intended toinclude the plural forms as well, unless the context clearly indicatesotherwise. It will be further understood that the terms “comprises”and/or “comprising,” when used in this specification, specify thepresence of stated features, integers, steps, operations, elements,and/or components, but do not preclude the presence or addition of oneor more other features, integers, steps, operations, elements,components, and/or groups thereof.

The corresponding structures, materials, acts, and equivalents of allmeans or step plus function elements, if any, in the claims below areintended to include any structure, material, or act for performing thefunction in combination with other claimed elements as specificallyclaimed. The description of the present invention has been presented forpurposes of illustration and description, but is not intended to beexhaustive or limited to the invention in the form disclosed. Manymodifications and variations will be apparent to those of ordinary skillin the art without departing from the scope and spirit of the invention.The embodiment was chosen and described in order to best explain theprinciples of the invention and the practical application, and to enableothers of ordinary skill in the art to understand the invention forvarious embodiments with various modifications as are suited to theparticular use contemplated.

1. A system for the description, deployment and management of compositeapplications, the system comprising: a processor; a memory devicecoupled to the processor; a solution descriptor, stored on the memorydevice, comprising a set of component workload units, a componentworkload unit describing a deployable application component withapplication binary, configuration parameters and dependencydeclarations; an environment descriptor, stored on the memory device,specifying a set of target platforms and plugins in an executionenvironment; and a deployer running on the processor, and operable togenerate, based on the solution descriptor and the environmentdescriptor, a list of tuples comprising compatibleworkload-plugin-platform combinations, the deployer further operable todetermine an execution order for the list of tuples, the deployerfurther operable to invoke the plugins in the list of tuples in theexecution order, each of the plugins executing a correspondingcompatible component workload unit on a corresponding compatible targetplatform specified in the list of tuples, wherein the set of componentworkload units comprises an instance of a component application type ina set of component application types, and the set of componentapplication types is extensible.
 2. The system of claim 1, wherein theset of component application types comprise one or more of analytics,web applications, and containerized applications, and the deployerqueries the plugins in the execution environment to discover acompatible plugin that is compatible to execute a respective componentapplication type.
 3. The system of claim 1, wherein responsive toidentifying two or more tuples in the list of tuples for a givencomponent workload unit, the deployer further resolves by selecting onetuple from said two or more tuples based on weighting the plugins ortarget platforms or both the plugins and the target platforms specifiedin the two or more tuples.
 4. The system of claim 1, wherein to generatethe list of tuples, the deployer instantiates all the plugins in theexecution environment, and for each combination of component workloadunit and target platform generated based on specifications of thesolution descriptor and the environment descriptor, the deployerinterrogates the plugins to determine whether one or more of the pluginssupport said each combination.
 5. The system of claim 1, wherein thedeployer generates the list of tuples based on a schema provided by theplugins in the execution environment, the schema specifying which pluginsupports which component workload unit and target platform combination.6. The system of claim 1, wherein the deployer determines the executionorder for the list of tuples based on the dependency declarations andbased on determining whether one component workload unit requiresdeployment-time dynamic properties from another component workload unitin the set.
 7. The system of claim 1, wherein the plugins are allowed tomodify the solution descriptor. 8.-14. (canceled)
 15. A computerreadable storage medium storing a program of instructions executable bya machine to perform a method of specifying, deploying and managingcomposite applications, the method comprising: receiving a solutiondescriptor comprising a set of component workload units, a componentworkload unit describing a deployable application component withapplication binary, configuration parameters and dependencydeclarations; receiving an environment descriptor specifying a set oftarget platforms and plugins available in an execution environment;generating, by a processor, based on the solution descriptor and theenvironment descriptor, a list of tuples comprising compatibleworkload-plugin-platform combinations; determining, by the processor, anexecution order for the list of tuples; and invoking, by the processor,the plugins in the list of tuples in the execution order, each of theplugins executing a corresponding compatible component workload unit ona corresponding compatible target platform specified in the list oftuples, wherein the set of component workload units comprises aninstance of a component application type in a set of componentapplication types, and the set of component application types isextensible.
 16. The computer readable storage medium of claim 15,wherein the set of component application types comprises one or more ofanalytics, web applications, and containerized applications, and thedeployer queries the plugins in the execution environment to discover acompatible plugin that is compatible to execute a respective componentapplication type.
 17. The computer readable storage medium of claim 15,wherein responsive to identifying two or more tuples in the list oftuples for a given component workload unit, the method further comprisesresolving by selecting one tuple from said two or more tuples based onweighting the plugins or target platforms or both the plugins and thetarget platforms specified in the two or more tuples.
 18. The computerreadable storage medium of claim 15, wherein the generating furthercomprises instantiating all the plugins in the execution environment,and for each combination of component workload unit and target platformgenerated based on specifications of the solution descriptor and theenvironment descriptor, interrogating the plugins to determine whetherone or more of the plugins support said each combination.
 19. Thecomputer readable storage medium of claim 15, wherein the list of tuplesis generated based on a schema provided by the plugins in the executionenvironment, the schema specifying which plugin supports which componentworkload unit and target platform combination.
 20. The computer readablestorage medium of claim 15, wherein the execution order for the list oftuples is determined based on the dependency declarations and based ondetermining whether one component workload unit requires deployment-timedynamic properties from another component workload unit in the set.